package com.autumn.aitraffic.dto.violation;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
public class ViolationBase {
    private int id;
    private String plate;
    private String roadName;
    private String violation;
    private String pic;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;
    private String color;
    private String globalUrl;
}
